projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa54e45
)
m68k: enabling long jumps on mcf54x5 SoCs
author
Angelo Dureghello
<
[email protected]
>
Wed, 13 Mar 2019 20:46:44 +0000
(21:46 +0100)
committer
Tom Rini
<
[email protected]
>
Fri, 24 May 2019 12:11:57 +0000
(08:11 -0400)
Growing of binary size asks for long assembly jumps.
Reviewed-by: Simon Glass <
[email protected]
>
Signed-off-by: Angelo Dureghello <
[email protected]
>
arch/m68k/cpu/mcf547x_8x/start.S
patch
|
blob
|
history
diff --git
a/arch/m68k/cpu/mcf547x_8x/start.S
b/arch/m68k/cpu/mcf547x_8x/start.S
index 7cb5db7ff056b0cf962df1ede017d0e1aed60aec..4dd57bf39c48977063161c5b178f393670479fc2 100644
(file)
--- a/
arch/m68k/cpu/mcf547x_8x/start.S
+++ b/
arch/m68k/cpu/mcf547x_8x/start.S
@@
-131,7
+131,8
@@
_start:
* then (and always) gd struct space will be reserved
*/
move.l %sp, -(%sp)
- bsr board_init_f_alloc_reserve
+ move.l #board_init_f_alloc_reserve, %a1
+ jsr (%a1)
/* update stack and frame-pointers */
move.l %d0, %sp
@@
-139,7
+140,8
@@
_start:
/* initialize reserved area */
move.l %d0, -(%sp)
- bsr board_init_f_init_reserve
+ move.l #board_init_f_init_reserve, %a1
+ jsr (%a1)
/* run low-level CPU init code (from flash) */
jbsr cpu_init_f